FROM openjdk:8-jdk-alpine

VOLUME /tmp
WORKDIR /app

COPY target/automailerbot.jar app.jar

ENV JAVA_OPTS=""

ENTRYPOINT exec java $JAVA_OPTS -jar app.jar
